a1545dad2bf1c13f129be5778df3c547eb432c38,rest-api-sdk/src/main/java/com/paypal/api/payments/WebProfile.java,WebProfile,getList,#APIContext#,389
Before Change
apiContext.setSdkVersion(new SDKVersionImpl());
String resourcePath = "v1/payment-experience/web-profiles";
String payLoad = "";
return PayPalResource.configureAndExecute(apiContext, HttpMethod.GET, resourcePath, payLoad, WebProfileList.class);
}
After Change
apiContext.setSdkVersion(new SDKVersionImpl());
String resourcePath = "v1/payment-experience/web-profiles";
String payLoad = "";
List<WebProfile> webProfiles = PayPalResource.configureAndExecute(apiContext, HttpMethod.GET, resourcePath, payLoad, WebProfileList.class);
if (webProfiles == null) {
webProfiles = new ArrayList<WebProfile>();
}
return webProfiles;
}